getColorSpotName

abstract fun getColorSpotName(block: DesignBlock, property: String): String

Deprecated

Use getColor instead and read from SpotColor object.

Replace with

this.getColor(block, property)

Get the spot color name of a color property of the given design block.

Return

the name of the spot color.

Parameters

block

the block whose property should be queried.

property

the name of the property to query.